﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>禁止图像的复制</title>
    <script type="text/javascript" language="JavaScript">
        function noCopy(control){
            alert("版权所有，禁止复制");
            return false;
        }
        function check(){
            if(document.images){
                for(i = 0;i< document.images.length;i++){
                    document.images[i].onmousedown = noCopy;
                }
            }
        }
        
    </script>
</head>
<body onload="check()">
<img src='' width=70 height=50 border=1 alt='我的图片'>
<div>
    <table width="300" height="50" border="0" cellspacing="2" cellpadding="0" bgcolor="#FFb609">
        <tr>
            <td bgcolor="#ccffff">禁止复制网页中所有图片...</td>
        </tr>
    </table>
</div>

</body>
</html>